#include "GameBoard.h"
#include "GraphicFactory.h"
#include "Font.h"
#include "Maze.h"
#include "Macro.h"

namespace Implement
{
	using namespace Graphics;

	GameBoard::GameBoard(Maze* pMaze):
		m_pFont(0),m_pMaze(pMaze),m_Pos(0,0)
	{
		//m_pFont->color = 0x00ffffff;
		//m_pFont->size = 24;
	};
	const Position& GameBoard::GetPos(void)
	{
		return m_Pos;
	}
	void GameBoard::SetPos(int x,int y)	
	{
		m_Pos.Set(x,y);
	}
	bool GameBoard::RenderImpl()
	{
		return SpriteSingle::RenderImpl();
	};

	GameBoard::~GameBoard(void)
	{
		PTR_DELETE(m_pFont);
	};

}
